package console

import (
	"github.com/goravel/framework/contracts/console"
	"github.com/goravel/framework/contracts/schedule"

	"goravel/app/console/commands"
	"goravel/app/models"
)

type Kernel struct {
}

func (kernel *Kernel) Schedule() []schedule.Event {
	return []schedule.Event{}
}

func (kernel *Kernel) Commands() []console.Command {
	return []console.Command{
		&commands.MigrateTable{[]any{
			//models.UserModel{},
			models.Admin{},
			models.Role{},
			models.RoleAdmin{},
			models.Menu{},
			models.RoleMenu{},
		}},
	}
}
